import { Module } from '@nestjs/common';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from './entities/user.entity';


@Module({
  //Repository方式(不用重复写表名)
  // imports: [
  //   TypeOrmModule.forFeature([User])
  // ],
  controllers: [UserController],
  providers: [UserService]
})
export class UserModule {}
